election_replica.lua